package com.wxmit;

import com.dtflys.forest.springboot.annotation.ForestScan;
import org.dromara.x.file.storage.spring.EnableFileStorage;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @Description 服务启动类
 * @Author huangxiong
 * @Date 2022/7/8 15:07
 * @Version V1.0
 */
@SuppressWarnings("SpringComponentScan")
@SpringBootApplication(scanBasePackages = {
        "${ss.info.base-package}.serve",
        "${ss.info.base-package}.module",
        "${ss.info.base-package}.framework.web",
        "${ss.info.base-package}.framework.quartz",
        "${ss.info.base-package}.base.config",
        "${ss.info.base-package}.admin",
        "${ss.info.base-package}.test"
})
@EnableAsync
@EnableCaching
@EnableFileStorage
@ForestScan(basePackages = "com.wxmit.module.system.api")
public class ShushanApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShushanApplication.class, args);
        System.out.println("\n----------------------------------------------------------\n" +
                "\t 项目启动成功！\n" +
                "----------------------------------------------------------");
    }
}
